package cn.zn.modules.zzsys.cur.mapper;

import cn.zn.modules.zzsys.cur.entity.PO.TeacherPgroupPO;
import cn.zn.modules.zzsys.cur.entity.PO.TeacherPgroupUserDeptPO;
import cn.zn.modules.zzsys.cur.entity.TeacherPgroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Entity cn.zn.modules.zzsys.cur.entity.TeacherPgroup
 */
public interface TeacherPgroupMapper extends BaseMapper<TeacherPgroup> {

    /**
     * 查询各流程用户组人员数量
     *
     * @return
     */
    List<TeacherPgroupPO> queryProcessGroupAndUserNum();

    /**
     * 查询流程用户组的用户和部门
     *
     * @param processGroupCode
     * @return
     */
    List<TeacherPgroupUserDeptPO> queryProcessGroupForUserDept(String processGroupCode);
}




